package com.ghck.server.model;

import java.util.Date;
/**
 * 聊天组成员表  <br>
 * chat_thread_users <br>
 * v1.0 2016-05-01
 */
 public class ChatThreadUsers extends BaseModel{
	
	private static final long serialVersionUID = 1L;
	
 	
 	//id
	private Integer id;

 	//组ID
 	//thread_id
	private Integer threadId;

 	//组名,支持用户修改,初始与chat_thread相同
 	//thread_name
	private String threadName;

 	//成员UserId
 	//user_id
	private Integer userId;

 	//成员在该组中的名称,初始为users表中的名称
 	//user_name
	private String userName;

 	//成员角色
 	//user_role
	private Integer userRole;

 	//加入组时首条消息ID
 	//start_msg_id
	private Integer startMsgId;

 	//最后一条查看的消息ID
 	//last_read_msg_id
	private Integer lastReadMsgId;

 	//最后一条消息ID
 	//last_msg_id
	private Integer lastMsgId;

 	//未读消息数
 	//unread
	private Integer unread;

 	//系统消息未读数
 	//sys_unread
	private Integer sysUnread;

 	//发出消息条数
 	//send_count
	private Integer sendCount;

 	//接受消息条数
 	//rec_count
	private Integer recCount;

 	//是否退出此组
 	//is_delete
	private Integer isDelete;

 	//是否接受推送消息,免打扰 1：需要推送,0：不需要推送
 	//is_push
	private Integer isPush;

 	
 	//last_modify_time
	private Date lastModifyTime;

 	
 	//create_time
	private Date createTime;

	
	/**
	*
 	*id
 	*/
	public Integer getId() {
		return id;
	}
	
	/**
	*
 	*id
 	*/
	public void setId(Integer id) {
		this.id = id;
	}
	
	/**
	*组ID
 	*thread_id
 	*/
	public Integer getThreadId() {
		return threadId;
	}
	
	/**
	*组ID
 	*thread_id
 	*/
	public void setThreadId(Integer threadId) {
		this.threadId = threadId;
	}
	
	/**
	*组名,支持用户修改,初始与chat_thread相同
 	*thread_name
 	*/
	public String getThreadName() {
		return threadName;
	}
	
	/**
	*组名,支持用户修改,初始与chat_thread相同
 	*thread_name
 	*/
	public void setThreadName(String threadName) {
		this.threadName = threadName;
	}
	
	/**
	*成员UserId
 	*user_id
 	*/
	public Integer getUserId() {
		return userId;
	}
	
	/**
	*成员UserId
 	*user_id
 	*/
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	
	/**
	*成员在该组中的名称,初始为users表中的名称
 	*user_name
 	*/
	public String getUserName() {
		return userName;
	}
	
	/**
	*成员在该组中的名称,初始为users表中的名称
 	*user_name
 	*/
	public void setUserName(String userName) {
		this.userName = userName;
	}
	
	/**
	*成员角色
 	*user_role
 	*/
	public Integer getUserRole() {
		return userRole;
	}
	
	/**
	*成员角色
 	*user_role
 	*/
	public void setUserRole(Integer userRole) {
		this.userRole = userRole;
	}
	
	/**
	*加入组时首条消息ID
 	*start_msg_id
 	*/
	public Integer getStartMsgId() {
		return startMsgId;
	}
	
	/**
	*加入组时首条消息ID
 	*start_msg_id
 	*/
	public void setStartMsgId(Integer startMsgId) {
		this.startMsgId = startMsgId;
	}
	
	/**
	*最后一条查看的消息ID
 	*last_read_msg_id
 	*/
	public Integer getLastReadMsgId() {
		return lastReadMsgId;
	}
	
	/**
	*最后一条查看的消息ID
 	*last_read_msg_id
 	*/
	public void setLastReadMsgId(Integer lastReadMsgId) {
		this.lastReadMsgId = lastReadMsgId;
	}
	
	/**
	*最后一条消息ID
 	*last_msg_id
 	*/
	public Integer getLastMsgId() {
		return lastMsgId;
	}
	
	/**
	*最后一条消息ID
 	*last_msg_id
 	*/
	public void setLastMsgId(Integer lastMsgId) {
		this.lastMsgId = lastMsgId;
	}
	
	/**
	*未读消息数
 	*unread
 	*/
	public Integer getUnread() {
		return unread;
	}
	
	/**
	*未读消息数
 	*unread
 	*/
	public void setUnread(Integer unread) {
		this.unread = unread;
	}
	
	/**
	*系统消息未读数
 	*sys_unread
 	*/
	public Integer getSysUnread() {
		return sysUnread;
	}
	
	/**
	*系统消息未读数
 	*sys_unread
 	*/
	public void setSysUnread(Integer sysUnread) {
		this.sysUnread = sysUnread;
	}
	
	/**
	*发出消息条数
 	*send_count
 	*/
	public Integer getSendCount() {
		return sendCount;
	}
	
	/**
	*发出消息条数
 	*send_count
 	*/
	public void setSendCount(Integer sendCount) {
		this.sendCount = sendCount;
	}
	
	/**
	*接受消息条数
 	*rec_count
 	*/
	public Integer getRecCount() {
		return recCount;
	}
	
	/**
	*接受消息条数
 	*rec_count
 	*/
	public void setRecCount(Integer recCount) {
		this.recCount = recCount;
	}
	
	/**
	*是否退出此组
 	*is_delete
 	*/
	public Integer getIsDelete() {
		return isDelete;
	}
	
	/**
	*是否退出此组
 	*is_delete
 	*/
	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}
	
	/**
	*是否接受推送消息,免打扰 1：需要推送,0：不需要推送
 	*is_push
 	*/
	public Integer getIsPush() {
		return isPush;
	}
	
	/**
	*是否接受推送消息,免打扰 1：需要推送,0：不需要推送
 	*is_push
 	*/
	public void setIsPush(Integer isPush) {
		this.isPush = isPush;
	}
	
	/**
	*
 	*last_modify_time
 	*/
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	
	/**
	*
 	*last_modify_time
 	*/
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	
	/**
	*
 	*create_time
 	*/
	public Date getCreateTime() {
		return createTime;
	}
	
	/**
	*
 	*create_time
 	*/
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
	@Override
	public void dealWith(){
		super.dealWith();
		
	}
}	